package com.nowar.common.util.thread;

/**
 * @Author: 谢无殇。
 * @Date : 2023-06-04 22:21
 */
public class DefaultUncaughtExceptionHandler implements Thread.UncaughtExceptionHandler {
    @Override
    public void uncaughtException(Thread t, Throwable e) {
        //子线程日志打印
        System.out.println("thread:-->" + t.getName() + " get uncCatchException:" + e.getMessage());
        e.printStackTrace();
    }
}
